package com.qishi.exampleOne;

public class ForumServiceImpl implements ForumService {

    public void removeTopic(int topicld) {


        PerformanceMonitor.begin("com.qishi.exampleOne.ForumServiceImpl.removeTopic");

        System.out.println("模拟删除Topic记录:"+topicld);

        try {
            Thread.currentThread().sleep(20);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        PerformanceMonitor.end();
    }

    public void removeForum(int forumld) {

        PerformanceMonitor.begin("com.qishi.exampleOne.ForumServiceImpl.removeForum");
        System.out.println("模拟删除Forum记录:"+forumld);
        try {
            Thread.currentThread().sleep(40);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        PerformanceMonitor.end();
    }
}
